package Configuration;

/**
 * Holds all the Configuration parameters
 * @author Pavel
 *
 */
public class Configuration {

	private long meterID = 123456;
	// variable for switching the power on or off
	private boolean powerOn = true;
	//the amp value or value of current
	private int ampValue = 200;
	// for calculating consumption for one minute, hour = 1 / 60
	private double hours = 0.016;

	public int getAmpValue() {
		return ampValue;
	}

	public void setAmpValue(int aMP_VALUE) {
		ampValue = aMP_VALUE;
	}

	public double getHOURS() {
		return hours;
	}

	public void setHOURS(double hOURS) {
		hours = hOURS;
	}

	public long getMeterID() {
		return meterID;
	}

	public void setMeterID(long meterID) {
		this.meterID = meterID;
	}

	public boolean isPowerOn() {
		return powerOn;
	}

	public void setPowerOn(boolean powerOn) {
		this.powerOn = powerOn;
	}

	public void cutoffPower() {
		this.powerOn = false;
	}

}
